;Assembler header file for OSByte
;written by DefMod (Dec 31 2005) on Sat Dec 31 14:03:53 2005
;Jonathan Coxhead, jonathan@doves.demon.co.uk, 7 Sept 1995

        [       :LNOT: :DEF: OSByte_Hdr
        GBLS    OSByte_Hdr

        [       :LNOT: :DEF: Get_Types
        GBLS    Get_Types
        ]
        [       :LNOT: :DEF: Types_Hdr
Get_Types                       SETS    "GET oslib/Types.Hdr"
        |
Get_Types                       SETS    ""
        ]
        $Get_Types

        [       :LNOT: :DEF: Get_OS
        GBLS    Get_OS
        ]
        [       :LNOT: :DEF: OS_Hdr
Get_OS                          SETS    "GET oslib/OS.Hdr"
        |
Get_OS                          SETS    ""
        ]
        $Get_OS

;Symbols for constants
OSByte_Version                  *       &0
OSByte_UserFlag                 *       &1
OSByte_InputStream              *       &2
OSByte_OutputStreams            *       &3
OSByte_InterpretationArrows     *       &4
OSByte_Printer                  *       &5
OSByte_IgnoreChar               *       &6
OSByte_SerialReceiveRate        *       &7
OSByte_SerialTransmitRate       *       &8
OSByte_OnDuration               *       &9
OSByte_OffDuration              *       &A
OSByte_KeyboardDelay            *       &B
OSByte_KeyboardRate             *       &C
OSByte_DisableEvent             *       &D
OSByte_EnableEvent              *       &E
OSByte_FlushBuffers             *       &F
OSByte_ChannelCount             *       &10
OSByte_ConvertChannel           *       &11
OSByte_ResetFunctionKeys        *       &12
OSByte_AwaitVSync               *       &13
OSByte_ResetSystemFont          *       &14
OSByte_FlushBuffer              *       &15
OSByte_IncrementROMSemaphore    *       &16
OSByte_DecrementROMSemaphore    *       &17
OSByte_ResetSystemChars         *       &19
OSByte_EconetPollTransmit       *       &32
OSByte_EconetPollReceive        *       &33
OSByte_EconetAbandonReceive     *       &34
OSByte_EconetROff               *       &35
OSByte_BankedRAMPresence        *       &44
OSByte_BankedRAMUse             *       &45
OSByte_CountryNumber            *       &46
OSByte_AlphabetNumber           *       &47
OSByte_SelectPointer            *       &6A
OSByte_WriteBusState            *       &6B
OSByte_WriteShadowState         *       &6C
OSByte_SelectTemporaryFS        *       &6D
OSByte_OutputScreenBank         *       &70
OSByte_DisplayScreenBank        *       &71
OSByte_ShadowState              *       &72
OSByte_VDUState                 *       &75
OSByte_UpdateKeyboard           *       &76
OSByte_CloseSpoolAndExec        *       &77
OSByte_LockRepeat               *       &78
OSByte_ScanKeyboard             *       &79
OSByte_ScanKeyboardLimited      *       &7A
OSByte_PrinterDormant           *       &7B
OSByte_ClearEscape              *       &7C
OSByte_SetEscape                *       &7D
OSByte_AcknowledgeEscape        *       &7E
OSByte_ReadEOFStatus            *       &7F
OSByte_BufferOp                 *       &80
OSByte_OpJoystickState          *       0
OSByte_OpChannelPosition1       *       1
OSByte_OpChannelPosition2       *       2
OSByte_OpChannelPosition3       *       3
OSByte_OpChannelPosition4       *       4
OSByte_OpPointerXPosition       *       7
OSByte_OpPointerYPosition       *       8
OSByte_OpMouseBufferUsed        *       246
OSByte_OpPrinterBufferFree      *       252
OSByte_OpSerialOutputBufferFree *       253
OSByte_OpSerialInputBufferUsed  *       254
OSByte_OpKeyboardBufferUsed     *       255
OSByte_InKey                    *       &81
OSByte_ReadHighOrderAddress     *       &82
OSByte_ReadHWM                  *       &83
OSByte_ReadTop                  *       &84
OSByte_ReadTopForMode           *       &85
OSByte_TextCursorPosition       *       &86
OSByte_ScreenChar               *       &87
OSByte_Run                      *       &88
OSByte_CassetteMotor            *       &89
OSByte_BufferInsert             *       &8A
OSByte_Opt                      *       &8B
OSByte_SelectCFS                *       &8C
OSByte_SelectROMFS              *       &8D
OSByte_ROMEnter                 *       &8E
OSByte_ServiceCall              *       &8F
OSByte_TV                       *       &90
OSByte_BufferRemove             *       &91
OSByte_ReadFred                 *       &92
OSByte_WriteFred                *       &93
OSByte_ReadJim                  *       &94
OSByte_WriteJim                 *       &95
OSByte_ReadSheila               *       &96
OSByte_WriteSheila              *       &97
OSByte_BufferStatus             *       &98
OSByte_TypeChar                 *       &99
OSByte_WriteVDUControl          *       &9A
OSByte_WriteVDUPalette          *       &9B
OSByte_SerialState              *       &9C
OSByte_WriteTube                *       &9D
OSByte_ReadVDUVariable          *       &A0
OSByte_ReadCMOS                 *       &A1
OSByte_WriteCMOS                *       &A2
OSByte_GraphicsInfo             *       &A3
OSByte_CPUType                  *       &A4
OSByte_OutputCursorPosition     *       &A5
OSByte_ReadVariableStart        *       &A6
OSByte_ReadROMPointerTable      *       &A8
OSByte_ReadROMInfoTable         *       &AA
OSByte_ReadKeyboardTable        *       &AC
OSByte_ReadVDUVariableStart     *       &AE
OSByte_VarVSyncTimer            *       &B0
OSByte_VarInputStream           *       &B1
OSByte_VarKeyboardSemaphore     *       &B2
OSByte_VarROMSemaphore          *       &B3
OSByte_VarHWM                   *       &B4
OSByte_VarSerialInterpretation  *       &B5
OSByte_VarIgnoreState           *       &B6
OSByte_VarCassetteROMSwitch     *       &B7
OSByte_VarVDUControl            *       &B8
OSByte_VarVDUPalette            *       &B9
OSByte_VarROMLastReset          *       &BA
OSByte_VarROM_BASIC             *       &BB
OSByte_VarCurrentChannel        *       &BC
OSByte_VarChannelCount          *       &BD
OSByte_VarConversionResolution  *       &BE
OSByte_VarSerialBusy            *       &BF
OSByte_VarSerialState           *       &C0
OSByte_VarFlashCounter          *       &C1
OSByte_VarOffDuration           *       &C2
OSByte_VarOnDuration            *       &C3
OSByte_VarKeyboardDelay         *       &C4
OSByte_VarKeyboardRate          *       &C5
OSByte_VarExecHandle            *       &C6
OSByte_VarSpoolHandle           *       &C7
OSByte_VarResetEffects          *       &C8
OSByte_VarKeyboardDisable       *       &C9
OSByte_VarKeyboardState         *       &CA
OSByte_VarSerialThreshold       *       &CB
OSByte_VarSerialBufferState     *       &CC
OSByte_VarSerialDestination     *       &CD
OSByte_VarEconetOSCallStatus    *       &CE
OSByte_VarEconetInputStatus     *       &CF
OSByte_VarEconetOutputStatus    *       &D0
OSByte_VarSoundSuppression      *       &D2
OSByte_VarBellChannel           *       &D3
OSByte_VarBellVolume            *       &D4
OSByte_VarBellFrequency         *       &D5
OSByte_VarBellDuration          *       &D6
OSByte_VarBannerSuppress        *       &D7
OSByte_VarPendingKeyLength      *       &D8
OSByte_VarPageLength            *       &D9
OSByte_VarVDUQueueLength        *       &DA
OSByte_VarTabChar               *       &DB
OSByte_VarEscapeChar            *       &DC
OSByte_VarInterpretationGroup4  *       &DD
OSByte_VarInterpretationGroup5  *       &DE
OSByte_VarInterpretationGroup6  *       &DF
OSByte_VarInterpretationGroup7  *       &E0
OSByte_VarInterpretationGroup0  *       &E1
OSByte_VarInterpretationGroup1  *       &E2
OSByte_VarInterpretationGroup2  *       &E3
OSByte_VarInterpretationGroup3  *       &E4
OSByte_VarEscapeState           *       &E5
OSByte_VarEscapeEffects         *       &E6
OSByte_VarIRQMaskUser           *       &E7
OSByte_VarIRQMaskSerial         *       &E8
OSByte_VarIRQMaskSystem         *       &E9
OSByte_VarTube                  *       &EA
OSByte_VarOutputStreams         *       &EC
OSByte_VarInterpretationArrows  *       &ED
OSByte_VarInterpretationKeypad  *       &EE
OSByte_VarShadowState           *       &EF
OSByte_VarCountryNumber         *       &F0
OSByte_VarUserFlag              *       &F1
OSByte_VarSerialRate            *       &F2
OSByte_VarIntervalTimerState    *       &F3
OSByte_VarSoftKeyState          *       &F4
OSByte_VarPrinter               *       &F5
OSByte_VarIgnoreChar            *       &F6
OSByte_VarInterpretationBreak   *       &F7
OSByte_VarInterpretationBreak1  *       &F8
OSByte_VarInterpretationBreak2  *       &F9
OSByte_VarOutputScreenBank      *       &FA
OSByte_VarDisplayScreenBank     *       &FB
OSByte_VarROMCurrent            *       &FC
OSByte_VarLastReset             *       &FD
OSByte_VarInterpretationShifting *       &FE
OSByte_VarBootOption            *       &FF
OS_ResetSoft                    *       0
OS_ResetPowerOn                 *       1
OS_ResetHard                    *       2
OSByte_ConfigureStation         *       0
OSByte_ConfigureFSStation       *       1
OSByte_ConfigureFSNet           *       2
OSByte_ConfigureFSName0         *       2
OSByte_ConfigurePSStation       *       3
OSByte_ConfigurePSNet           *       4
OSByte_ConfigurePSName0         *       4
OSByte_ConfigureFileSystem      *       5
OSByte_ConfigureUnplug0         *       6
OSByte_ConfigureUnplug1         *       7
OSByte_ConfigureUnplug8         *       9
OSByte_ConfigureMode            *       10
OSByte_ConfigureModeShift       *       0
OSByte_ConfigureModeMask        *       &F
OSByte_ConfigureTVInterlace     *       10
OSByte_ConfigureTVInterlaceMask *       &10
OSByte_ConfigureTVVerticalAdjust *       10
OSByte_ConfigureTVVerticalAdjustShift *       5
OSByte_ConfigureTVVerticalAdjustMask *       &E0
OSByte_ConfigureDrive           *       11
OSByte_ConfigureDriveShift      *       0
OSByte_ConfigureDriveMask       *       &7
OSByte_ConfigureCaps            *       11
OSByte_ConfigureCapsShift       *       3
OSByte_ConfigureCapsMask        *       &38
OSByte_ConfigureDir             *       11
OSByte_ConfigureDirMask         *       &40
OSByte_ConfigureDelay           *       12
OSByte_ConfigureRepeat          *       13
OSByte_ConfigureIgnore          *       14
OSByte_ConfigureNoIgnore        *       15
OSByte_ConfigureNoIgnoreMask    *       &2
OSByte_ConfigureBaud            *       15
OSByte_ConfigureBaudShift       *       2
OSByte_ConfigureBaudMask        *       &1C
OSByte_ConfigurePrint           *       15
OSByte_ConfigurePrintShift      *       5
OSByte_ConfigurePrintMask       *       &E0
OSByte_ConfigureLoud            *       16
OSByte_ConfigureLoudMask        *       &2
OSByte_ConfigureNoScroll        *       16
OSByte_ConfigureNoScrollMask    *       &8
OSByte_ConfigureBoot            *       16
OSByte_ConfigureBootMask        *       &10
OSByte_ConfigureData            *       16
OSByte_ConfigureDataShift       *       5
OSByte_ConfigureDataMask        *       &E0
OSByte_ConfigureNetFilerSort    *       17
OSByte_ConfigureNetFilerSortMask *       &1
OSByte_ConfigureLibrary         *       17
OSByte_ConfigureLibraryMask     *       &2
OSByte_ConfigureNetFilerDisplay *       17
OSByte_ConfigureNetFilerDisplayShift *       2
OSByte_ConfigureNetFilerDisplayMask *       &C
OSByte_ConfigureUnplug2         *       18
OSByte_ConfigureUnplug3         *       19
OSByte_ConfigureUnplugExtension0 *       20
OSByte_ConfigureUnplugExtension1 *       21
OSByte_ConfigureWimpDoubleClickMove *       22
OSByte_ConfigureWimpAutoMenuDelay *       23
OSByte_ConfigureTerritory       *       24
OSByte_ConfigurePrinterBufferSize *       25
OSByte_ConfigureADFSSpindown    *       26
OSByte_ConfigureWimpMenuDragDelay *       27
OSByte_ConfigureTruncate        *       28
OSByte_ConfigureTruncateMask    *       &1
OSByte_ConfigureDragASprite     *       28
OSByte_ConfigureDragASpriteMask *       &2
OSByte_ConfigureNoFilerAction   *       28
OSByte_ConfigureNoFilerActionMask *       &4
OSByte_ConfigureDesktopDither   *       28
OSByte_ConfigureDesktopDitherMask *       &8
OSByte_ConfigureNoObscureIconBar *       28
OSByte_ConfigureNoObscureIconBarMask *       &10
OSByte_ConfigureShutdownType    *       28
OSByte_ConfigureShutdownTypeShift *       6
OSByte_ConfigureShutdownTypeMask *       &C0
OSByte_ConfigureMouseType       *       29
OSByte_ConfigureUser0           *       30
OSByte_ConfigureThirdParty0     *       46
OSByte_ConfigurePoduleExtra0    *       60
OSByte_ConfigureRISCIX          *       80
OSByte_ConfigureShareNet        *       80
OSByte_ConfigureShareMarker     *       81
OSByte_ConfigureShareDiscs      *       82
OSByte_ConfigureShareDrive4     *       106
OSByte_ConfigureShareDrive4Mask *       &1
OSByte_ConfigureProtectDrive4   *       106
OSByte_ConfigureProtectDrive4Mask *       &2
OSByte_ConfigureShareDrive5     *       106
OSByte_ConfigureShareDrive5Mask *       &4
OSByte_ConfigureProtectDrive5   *       106
OSByte_ConfigureProtectDrive5Mask *       &8
OSByte_ConfigureShareDrive6     *       106
OSByte_ConfigureShareDrive6Mask *       &10
OSByte_ConfigureProtectDrive6   *       106
OSByte_ConfigureProtectDrive6Mask *       &20
OSByte_ConfigureShareDrive7     *       106
OSByte_ConfigureShareDrive7Mask *       &40
OSByte_ConfigureProtectDrive7   *       106
OSByte_ConfigureProtectDrive7Mask *       &80
OSByte_ConfigureShareDiscsLimit *       24
OSByte_ConfigurePodule0         *       112
OSByte_ConfigurePodule1         *       116
OSByte_ConfigurePodule2         *       120
OSByte_ConfigurePodule3         *       124
OSByte_ConfigureYear0           *       128
OSByte_ConfigureYear1           *       129
OSByte_ConfigureUnplug9         *       130
OSByte_ConfigureUnplug10        *       131
OSByte_ConfigureDumpFormat      *       132
OSByte_ConfigureDumpFormatShift *       0
OSByte_ConfigureDumpFormatMask  *       &1F
OSByte_ConfigureTube            *       132
OSByte_ConfigureTubeMask        *       &20
OSByte_ConfigureHostPodule      *       132
OSByte_ConfigureHostPoduleShift *       6
OSByte_ConfigureHostPoduleMask  *       &C0
OSByte_ConfigureSound           *       132
OSByte_ConfigureSoundShift      *       5
OSByte_ConfigureSoundMask       *       &60
OSByte_ConfigureSoundQuality    *       132
OSByte_ConfigureSoundQualityMask *       &80
OSByte_ConfigureSync            *       133
OSByte_ConfigureSyncShift       *       0
OSByte_ConfigureSyncMask        *       &81
OSByte_ConfigureModeTopBit      *       133
OSByte_ConfigureModeTopBitMask  *       &2
OSByte_ConfigureMonitorNotConfigured *       133
OSByte_ConfigureMonitorNotConfiguredMask *       &2
OSByte_ConfigureMonitorType     *       133
OSByte_ConfigureMonitorTypeShift *       2
OSByte_ConfigureMonitorTypeMask *       &7C
OSByte_ConfigureFontSize        *       134
OSByte_ConfigureFloppies        *       135
OSByte_ConfigureFloppiesShift   *       0
OSByte_ConfigureFloppiesMask    *       &7
OSByte_ConfigureHardDiscs       *       135
OSByte_ConfigureHardDiscsShift  *       3
OSByte_ConfigureHardDiscsMask   *       &38
OSByte_ConfigureIDEDiscs        *       135
OSByte_ConfigureIDEDiscsShift   *       6
OSByte_ConfigureIDEDiscsMask    *       &C0
OSByte_ConfigureStep0           *       136
OSByte_ConfigureStep0Shift      *       0
OSByte_ConfigureStep0Mask       *       &3
OSByte_ConfigureStep1           *       136
OSByte_ConfigureStep1Shift      *       2
OSByte_ConfigureStep1Mask       *       &C
OSByte_ConfigureStep2           *       136
OSByte_ConfigureStep2Shift      *       4
OSByte_ConfigureStep2Mask       *       &30
OSByte_ConfigureStep3           *       136
OSByte_ConfigureStep3Shift      *       6
OSByte_ConfigureStep3Mask       *       &C0
OSByte_ConfigureADFSBuffers     *       137
OSByte_ConfigureCDFSFlags       *       138
OSByte_ConfigureTimeZone        *       139
OSByte_ConfigureNewLook         *       140
OSByte_ConfigureNewLookMask     *       &1
OSByte_ConfigureWimpFont        *       140
OSByte_ConfigureWimpFontShift   *       1
OSByte_ConfigureWimpFontMask    *       &1E
OSByte_ConfigureNoTile          *       140
OSByte_ConfigureNoTileMask      *       &80
OSByte_ConfigurePrinter         *       141
OSByte_ConfigureUnplug11        *       141
OSByte_ConfigureTwinFlags       *       142
OSByte_ConfigureUnplug12        *       142
OSByte_ConfigureScreenSize      *       143
OSByte_ConfigureRAMFSSize       *       144
OSByte_ConfigureSystemSize      *       145
OSByte_ConfigureRMASize         *       146
OSByte_ConfigureSpriteSize      *       147
OSByte_ConfigureSoundDefault    *       148
OSByte_ConfigureSoundDefaultShift *       0
OSByte_ConfigureSoundDefaultMask *       &F
OSByte_ConfigureSoundLoudness   *       148
OSByte_ConfigureSoundLoudnessShift *       4
OSByte_ConfigureSoundLoudnessMask *       &70
OSByte_ConfigureSoundOn         *       148
OSByte_ConfigureSoundOnMask     *       &80
OSByte_ConfigureBASICEditorFlags0 *       149
OSByte_ConfigureBASICEditorFlags1 *       150
OSByte_ConfigureBASICEditorFlags2 *       151
OSByte_ConfigureBASICEditorFlags3 *       152
OSByte_ConfigurePSName1         *       153
OSByte_ConfigurePSName2         *       154
OSByte_ConfigurePSName3         *       155
OSByte_ConfigurePSName4         *       156
OSByte_ConfigurePSName5         *       157
OSByte_ConfigurePSNameLimit     *       6
OSByte_ConfigureFSName1         *       158
OSByte_ConfigureFSName2         *       159
OSByte_ConfigureFSName3         *       160
OSByte_ConfigureFSName4         *       161
OSByte_ConfigureFSName5         *       162
OSByte_ConfigureFSName6         *       163
OSByte_ConfigureFSName7         *       164
OSByte_ConfigureFSName8         *       165
OSByte_ConfigureFSName9         *       166
OSByte_ConfigureFSName10        *       167
OSByte_ConfigureFSName11        *       168
OSByte_ConfigureFSName12        *       169
OSByte_ConfigureFSName13        *       170
OSByte_ConfigureFSName14        *       171
OSByte_ConfigureFSName15        *       172
OSByte_ConfigureFSNameLimit     *       16
OSByte_ConfigureUnplug4         *       173
OSByte_ConfigureUnplug5         *       174
OSByte_ConfigureUnplug6         *       175
OSByte_ConfigureUnplug7         *       176
OSByte_ConfigureUnplugExpansionCard0 *       177
OSByte_ConfigureUnplugExpansionCard1 *       178
OSByte_ConfigureUnplugExpansionCard2 *       179
OSByte_ConfigureUnplugExpansionCard3 *       180
OSByte_ConfigureBASICEditorWildCard0 *       181
OSByte_ConfigureBASICEditorWildCard1 *       182
OSByte_ConfigureBASICEditorWildCard2 *       183
OSByte_ConfigureBASICEditorWildCard3 *       184
OSByte_ConfigureLanguage        *       185
OSByte_ConfigureCountry         *       186
OSByte_ConfigureVFS             *       187
OSByte_ConfigureROMFSOpt        *       188
OSByte_ConfigureROMFSOptShift   *       0
OSByte_ConfigureROMFSOptMask    *       &3
OSByte_ConfigureIconCache       *       188
OSByte_ConfigureIconCacheMask   *       &4
OSByte_ConfigureBlankTime       *       188
OSByte_ConfigureBlankTimeShift  *       3
OSByte_ConfigureBlankTimeMask   *       &38
OSByte_ConfigureUnblankOnWrite  *       188
OSByte_ConfigureUnblankOnWriteMask *       &40
OSByte_ConfigureNoLongTest      *       188
OSByte_ConfigureNoLongTestMask  *       &80
OSByte_ConfigureADFSDiscSize0   *       189
OSByte_ConfigureADFSDiscSize1   *       190
OSByte_ConfigureADFSDiscSize2   *       191
OSByte_ConfigureADFSDiscSize3   *       192
OSByte_ConfigureProtectionPeek  *       193
OSByte_ConfigureProtectionPeekMask *       &1
OSByte_ConfigureProtectionPoke  *       193
OSByte_ConfigureProtectionPokeMask *       &2
OSByte_ConfigureProtectionJSR   *       193
OSByte_ConfigureProtectionJSRMask *       &4
OSByte_ConfigureProtectionUserRPC *       193
OSByte_ConfigureProtectionUserRPCMask *       &8
OSByte_ConfigureProtectionOSProc *       193
OSByte_ConfigureProtectionOSProcMask *       &10
OSByte_ConfigureProtectionHalt  *       193
OSByte_ConfigureProtectionHaltMask *       &20
OSByte_ConfigureProtectionGetRegs *       193
OSByte_ConfigureProtectionGetRegsMask *       &40
OSByte_ConfigureMouseStep       *       194
OSByte_ConfigureBootNet         *       195
OSByte_ConfigureBootNetMask     *       &1
OSByte_ConfigureDynamicStation  *       195
OSByte_ConfigureDynamicStationMask *       &2
OSByte_ConfigureCMOSReset       *       195
OSByte_ConfigureCMOSResetMask   *       &4
OSByte_ConfigurePowerSave       *       195
OSByte_ConfigurePowerSaveMask   *       &8
OSByte_ConfigureAutoWimpMode    *       195
OSByte_ConfigureAutoWimpModeMask *       &10
OSByte_ConfigureNoCache         *       195
OSByte_ConfigureNoCacheMask     *       &20
OSByte_ConfigureBroadcastLoader *       195
OSByte_ConfigureBroadcastLoaderMask *       &40
OSByte_ConfigureHourglassColour *       195
OSByte_ConfigureHourglassColourMask *       &80
OSByte_ConfigureWimpMode        *       196
OSByte_ConfigureWimpFlags       *       197
OSByte_ConfigureFilerDisplay    *       198
OSByte_ConfigureFilerDisplayShift *       0
OSByte_ConfigureFilerDisplayMask *       &3
OSByte_ConfigureFilerSort       *       198
OSByte_ConfigureFilerSortShift  *       2
OSByte_ConfigureFilerSortMask   *       &C
OSByte_ConfigureFilerForce      *       198
OSByte_ConfigureFilerForceMask  *       &10
OSByte_ConfigureFilerConfirm    *       198
OSByte_ConfigureFilerConfirmMask *       &20
OSByte_ConfigureFilerVerbose    *       198
OSByte_ConfigureFilerVerboseMask *       &40
OSByte_ConfigureFilerNewer      *       198
OSByte_ConfigureFilerNewerMask  *       &80
OSByte_ConfigureADFSDirCache    *       199
OSByte_ConfigureFontMax         *       200
OSByte_ConfigureFontMax1        *       201
OSByte_ConfigureFontMax2        *       202
OSByte_ConfigureFontMax3        *       203
OSByte_ConfigureFontMax4        *       204
OSByte_ConfigureFontMax5        *       205
OSByte_ConfigureFontMax6        *       206
OSByte_ConfigureFontMax7        *       207
OSByte_ConfigureSCSIFSDiscs     *       208
OSByte_ConfigureSCSIFSDiscsShift *       0
OSByte_ConfigureSCSIFSDiscsMask *       &7
OSByte_ConfigureSCSIFSDrive     *       208
OSByte_ConfigureSCSIFSDriveShift *       3
OSByte_ConfigureSCSIFSDriveMask *       &38
OSByte_ConfigureSCSIFSBuffers   *       209
OSByte_ConfigureSCSIFSDirCache  *       210
OSByte_ConfigureSCSIFSDiscSize0 *       211
OSByte_ConfigureSCSIFSDiscSize1 *       212
OSByte_ConfigureSCSIFSDiscSize2 *       213
OSByte_ConfigureSCSIFSDiscSize3 *       214
OSByte_ConfigureROMAlarm        *       215
OSByte_ConfigureROMAlarmMask    *       &1
OSByte_ConfigureROMCalc         *       215
OSByte_ConfigureROMCalcMask     *       &2
OSByte_ConfigureROMChars        *       215
OSByte_ConfigureROMCharsMask    *       &4
OSByte_ConfigureROMConfigure    *       215
OSByte_ConfigureROMConfigureMask *       &8
OSByte_ConfigureROMDraw         *       215
OSByte_ConfigureROMDrawMask     *       &10
OSByte_ConfigureROMEdit         *       215
OSByte_ConfigureROMEditMask     *       &20
OSByte_ConfigureROMHelp         *       215
OSByte_ConfigureROMHelpMask     *       &40
OSByte_ConfigureROMPaint        *       215
OSByte_ConfigureROMPaintMask    *       &80
OSByte_ConfigureROMBatMan       *       216
OSByte_ConfigureROMBatManMask   *       &1
OSByte_ConfigureUnplug13        *       217
OSByte_ConfigureUnplug14        *       218
OSByte_ConfigureUnplug15        *       219
OSByte_ConfigureAlarmFormat     *       220
OSByte_ConfigureAlarmFormatShift *       0
OSByte_ConfigureAlarmFormatMask *       &7
OSByte_ConfigureAlarmConfirm    *       220
OSByte_ConfigureAlarmConfirmMask *       &8
OSByte_ConfigureAlarmAutoSave   *       220
OSByte_ConfigureAlarmAutoSaveMask *       &10
OSByte_ConfigureAlarmWorkingWeek *       220
OSByte_ConfigureAlarmWorkingWeekMask *       &20
OSByte_ConfigureAlarmSilent     *       220
OSByte_ConfigureAlarmSilentMask *       &40
OSByte_ConfigureDST             *       220
OSByte_ConfigureDSTMask         *       &80
OSByte_ConfigureWimpDragDelay   *       221
OSByte_ConfigureWimpDragMove    *       222
OSByte_ConfigureWimpDoubleClickDelay *       223
OSByte_ConfigureRISCIX32        *       224
OSByte_ConfigurePrinterName     *       224
OSByte_ConfigureLCD             *       230
OSByte_ConfigureUnplug16        *       231
OSByte_ConfigureFSLock0         *       233
OSByte_ConfigureFSLock1         *       234
OSByte_ConfigureFSLock2         *       235
OSByte_ConfigureFSLock3         *       236
OSByte_ConfigureFSLock4         *       237
OSByte_ConfigureFSLock5         *       238
OSByte_ConfigureChecksum        *       239
OSByte_CapsShift                *       &1
OSByte_CapsNone                 *       &2
OSByte_CapsLock                 *       &4
OSByte_ShutdownUnknown          *       &0
OSByte_ShutdownFailed           *       &1
OSByte_ShutdownPowerLost        *       &2
OSByte_ShutdownUndefined        *       &3
OSByte_MouseQuadrature          *       &0
OSByte_MouseMicrosoftSerial     *       &1
OSByte_MouseMSCSerial           *       &2
OSByte_SyncVertical             *       &0
OSByte_SyncComposite            *       &1
OSByte_SyncAuto                 *       &81
OSByte_MonitorTypeAuto          *       &1F
OSByte_BlankOff                 *       &0
OSByte_Blank30s                 *       &1
OSByte_Blank1min                *       &2
OSByte_Blank2min                *       &3
OSByte_Blank5min                *       &4
OSByte_Blank10min               *       &5
OSByte_Blank15min               *       &6
OSByte_Blank30min               *       &7
OSByte_DisplayLargeIcons        *       &0
OSByte_DisplaySmallIcons        *       &1
OSByte_DisplayFullInfo          *       &2
OSByte_SortByName               *       &0
OSByte_SortByNumber             *       &1
OSByte_SortByType               *       &1
OSByte_SortBySize               *       &2
OSByte_SortByDate               *       &3

;Symbols for structure offsets and sizes
                                ^       0
                                #       Byte
OSByte_Op                       *       @

                                ^       0
                                #       Byte
OSByte_Var                      *       @


;Symbols for SWI's and SWI reason codes
XOS_Byte                        *       &20006
OS_Byte                         *       &6
   ;Entry
   ;  R0 = op (OSByte_Op)
   ;  R1 = r1 (Int)
   ;  R2 = r2 (Int)
   ;Exit
   ;  R1 = r1_out (Int)
   ;  R2 = r2_out (Int)

ByteV                           *       &6
   ;Entry
   ;  R0 = op (OSByte_Op)
   ;  R1 = r1 (Int)
   ;  R2 = r2 (Int)
   ;  R9 = &6
   ;Exit
   ;  R1 = r1_out (Int)
   ;  R2 = r2_out (Int)

XOSByte                         *       &20006
OSByte                          *       &6
   ;Entry
   ;  R0 = op (OSByte_Op)
   ;  R1 = r1 (Int)
   ;  R2 = r2 (Int)
   ;Exit
   ;  R1 corrupted
   ;  R2 corrupted

XOSByte1                        *       &20006
OSByte1                         *       &6
   ;Entry
   ;  R0 = op (OSByte_Op)
   ;  R1 = r1 (Int)
   ;  R2 = r2 (Int)
   ;Exit
   ;  R1 = r1_out (Int)
   ;  R2 corrupted

XOSByte2                        *       &20006
OSByte2                         *       &6
   ;Entry
   ;  R0 = op (OSByte_Op)
   ;  R1 = r1 (Int)
   ;  R2 = r2 (Int)
   ;Exit
   ;  R1 corrupted
   ;  R2 = r2_out (Int)

OSByte_Read                     *       &FF
   ;Entry
   ;  R0 = var (OSByte_Var)
   ;  R1 = &0
   ;  R2 = &FF
   ;Exit
   ;  R1 = value (Int)
   ;  R2 corrupted

OSByte_Write                    *       &0
   ;Entry
   ;  R0 = var (OSByte_Var)
   ;  R1 = value (Int)
   ;  R2 = &0
   ;Exit
   ;  R1 corrupted
   ;  R2 corrupted

        ]
        END
